<html>
<head>
    <style>
        div {
            border-width: 21px 30px 30px 21px;
            width: 75px;
            height: 75px;
            margin: 10px;
            display: inline-block;
            border-style: solid;
        }

        div.rr {
            -webkit-border-image: url("resources/border-image.png") 21 30 30 21 repeat repeat;
        }

        div.rs {
            -webkit-border-image: 21 30 30 21 url("resources/border-image.png") repeat stretch;
        }

        div.sr {
            -webkit-border-image: stretch repeat 21 30 30 21 url("resources/border-image.png");
        }

        div.ss {
            -webkit-border-image: url("resources/border-image.png") stretch stretch 21 30 30 21;
        }
    </style>
</head>
<body>
    <div class="rr"></div>
    <div class="rs"></div>
    <br>
    <div class="sr"></div>
    <div class="ss"></div>
</body>
</html>
